*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li{
   list-style: none;
}
/* 清除浮动 */
.clearfix::before,
.clearfix:after{
   content: '';
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}
.clearfix{  /* IE6、7 专有*/
    *zoom: 1;
}
a{
    text-decoration: none;
}
/* ctrl+g 跳转行数 */
body{
    background-color: #f3f5f7;
}
.w{
    width: 1200px;
    margin: auto;
}
.header{
    height: 42px;
    margin: 30px auto;
    /* background-color: pink; */
}
/* logo部分 */
.logo{
    float: left;
    width: 198px;
    height: 42px;
}
/* 导航栏部分 */
.nav {
    float: left;
    margin-left: 60px;
}
.nav ul li {
    float: left;
    margin: 0 15px;
}

.nav ul li a{
    display: inline-block;
    font-size: 18px;
    line-height: 42px;
    color:#050505;
    padding: 0 10px;
}
.nav ul li a:hover{
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
/* 搜索框 */
.search{
    float: left;
    width: 421px;
    height: 42px;
    margin-left: 60px;
}
.search input{
    float: left;
    width: 360px;
    height: 42px;
    border: 1px solid #00a4ff;
    border-right: 0;
    padding-left: 15px;
    outline: none;
}
.search button{
    float: left;
    display: inline-block;
    width: 50px;
    height: 42px;
    border: 0;
    background-image: url(img/btn.png);
}
/* 用户模块 */
.user{
    float: right;
    vertical-align: center;
    line-height: 42px;
    margin-right: 20px;
    font-size: 14px;
    color: #666;
}
.user span a{
    float: left;
    margin-right: 10px;
    font-size: 16px;
    color: #050505;
}
.user span a:hover{
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
.user img{
    vertical-align: middle;
    border-radius: 50%;
}
/* banner部分 */
.banner{
    height: 421px;
    background-color:#1c036c;
}
.banner .w{
    height: 421px;
    background-color: pink;
    background: url(img/banner2.png) no-repeat top center;
}
/* banner左侧内容部分 */
.subnav{
    float: left;
    width: 190px;
    height: 421px;
    background: rgba(0, 0, 0, .3)
}
.subnav ul li{
    height: 45px;
    line-height: 45px;
}
.subnav ul li a{
    display: inline-block;
    width: 190px;
    color: #fff;
    font-size: 14px;
    padding: 0 20px;
}
.subnav ul li a:hover{
    color: #00a4ff;
}
.subnav ul li a span{
    float: right;
}
/* banner右侧部分 */
.course {
    float: right;
    width: 230px;
    height: 300px;
    margin-top: 50px;
    background-color: #fff;
}
.course h2{
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    background-color: #9bcaea;
}
.bd{
    padding: 0 20px;
}
.bd ul li{
  padding: 14px 0;
  border-bottom: 1px solid #ccc;
  /* background-color: pink; */
}
.bd ul li h4{
    font-size: 16px;
    color: #4e4e4e;
}
.bd ul li p{
    font-size: 12px;
    color: #a5a5a5;
}
.more{
    display: block;
    height: 38px;
    line-height: 38px;
    text-align: center;
    margin: 5px 0;
    border: 1px solid #00a4ff;
    color: #22b0ff;
    font-size: 16px;
    font-weight: 700;
}
.more:hover{
    background-color: #00a4ff;
    color:#fff;
}
.tb{
    background-color: pink;
}
.w .img{
    display: inline-block;
}
/* 精品推荐模块 */
.goods{
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 3px 3px rgb(0 0 0 / 10%);;
}
.goods h3{
    float: left;
    font-size: 16px;
    margin: 0 30px;
    color: #00a4ff; 
}
.goods ul li{
    float: left;
}
.goods ul li a{
    padding: 0 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px solid #ccc;
}
.goods ul li a:hover{
    color: #00a4ff; 
    text-decoration: underline;

}
.mod{
    float: right;
    padding-right: 30px;
    font-size: 14px;
    color: #00a4ff;
    /* background-color: pink; */
}
.mod:hover{
    text-decoration: underline;
}
/* 课程模块 */
.box {
    margin-top: 10px;
}
.box-hd{
    height: 45px;
}
.box-hd h3{
    float: left;
    line-height: 45px;
    font-size: 20px;
    color: #494949;
}
.box-hd a{
    float: right;
    line-height: 45px;
    font-size: 12px;
    color: #a5a5a5;
    margin-right: 30px;
}
.box-hd a:hover{
    color: #00a4ff;
    text-decoration: underline;
}
.box-bd ul{
    width: 1225px;
}
.box-bd ul li {
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}
.box-bd li img{
    transition: all .4s;
}
.box-bd li img:hover{
    transform: scale(1.1);
}
.box-bd li em {
    position: absolute;
    top: 0;
    right: -5px;
}
.box-bd ul li h4{
    font-size: 14px;
    margin: 20px 20px 25px;
    color: #050505;
    font-weight: 400;
}
.box-bd .info{
    margin: 20px;
    font-size: 12px;
    color: #999;
} 
.box-bd .info span{
    font-size: 12px;
    color: #ff6700;
}
/* 底部模块 */
.footer{
    height: 415px;
    background-color: #fff;
}
.footer .w{
    height: 100%;
    padding-top: 50px;
    /* background-color: pink; */
}
.copyright{
    float: left;
    /* background-color: pink; */
}
.copyright p{
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
    padding-left: 10px;
}
.copyright .app{
    display: block;
    width: 118px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    border: 1px solid #00a4ff;
    font-size: 16px;
    color: #00a4ff;
}
.copyright .app:hover{
    background-color: #00a4ff;
    color: #fff;
}
.links{
    float: right;
}
.links dl{
    float: left;
    margin-left: 100px;
}
.links dl dt{
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}
.links dl dd a{
    /* display: block; */
    font-size: 12px;
    color: #333;
    margin: 10px 0;
}
.links dl dd a:hover{
    color: red;
}
